package common.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.config.datasource.DataSourceConstants;
import common.mapper.CommonMysqlSlowSqlMapper;
import common.model.po.MySqlSlowLog;
import common.service.CommonMysqlSlowSqlService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 慢查询实现类
 *
 * @author 米泽鹏
 * @since 2022-03-22
 */
@Service
@DS(DataSourceConstants.MYSQL_DATASOURCE)
public class CommonMysqlSlowSqlServiceImpl extends ServiceImpl<CommonMysqlSlowSqlMapper, MySqlSlowLog> implements CommonMysqlSlowSqlService {

	@Resource
	private CommonMysqlSlowSqlMapper mapper;

}
